package com.blackfish.user;

import com.blackfish.common.model.User;
import com.jfinal.core.Controller;

import java.util.List;

public class UserController extends Controller {
    static UserService service = new UserService();
    public void table(){
        List<User>  user_list = service.getAllView();
        renderJson(user_list);
    }

    public void index(){
        render("login.html");
    }


}
